package cn.darkhorse.device.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HistoryDataDao {
    List<Map<String, Object>> getList(@Param("tableName") String tableName
            , @Param("num") int num
            , @Param("size") int size
            , @Param("beginTime") String beginTime
            , @Param("endTime") String  endTime);

    /**
     * 判断某个历史表是否存在
     * @param historyTableName
     * @return
     */
    List<Map<String, Object>> checkTableExists(String historyTableName);
}
